Skip to content

Conversation

Naoray
Copy link
Collaborator

@Naoray Naoray commented Sep 8, 2025

Requirements: Needs mollie/mollie-api-php#829 to be merged and then update dependency to that version


Added

  • Support for mollie-api-php v3 with typed request objects - you can now use Mollie::send(new CreatePaymentRequest(...)).
  • ValidatesWebhookSignatures middleware for validating incoming webhook signatures.
  • HandleIncomingWebhook controller for processing webhook requests.
  • WebhookDispatcher service that dispatches webhook events (extensible for custom handling strategies).
  • SetupWebhookCommand to automatically configure webhooks via the Mollie API or guide manual setup.
  • Webhook route file (routes/webhook.php) for handling incoming webhooks.
  • Applied updated Adapter Contract to MollieLaravelHttpClientAdapter.

Changed

  • Minimum PHP version is now 8.2.0.
  • Only Laravel 11.x and 12.x are supported.
  • Upgraded to mollie-api-php v3 which includes several breaking changes (see mollie-api-php upgrade guide).
  • Endpoint access changed from methods to properties (e.g., payments() becomes payments).
  • Metadata in API request payloads now only accepts arrays (not strings or objects).
  • Main MollieServiceProvider is now deferred for improved performance.
  • MollieSocialiteServiceProvider is now deferred and only loaded when laravel/socialite is installed.
  • Separated Socialite integration into dedicated service provider (MollieSocialiteServiceProvider).

Removed

  • Mollie\Laravel\MollieManager class (use Mollie facade instead).
  • mollie() global helper function (use Mollie::api() facade or dependency injection instead).
  • Support for Laravel 10.x and earlier.
  • Support for PHP 8.1 and earlier.

@Naoray Naoray mentioned this pull request Sep 8, 2025
@Naoray Naoray changed the title Feat/v4 dev [WIP] Feat/v4 dev Sep 8, 2025
@Naoray Naoray marked this pull request as draft October 14, 2025 08:19
@Naoray Naoray changed the title [WIP] Feat/v4 dev Feat/v4 dev Oct 14, 2025
@Naoray Naoray marked this pull request as ready for review October 20, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants